if __name__ == '__main__':
    arr = []
    for i in range(5) :
# 通过append方法将循环的数字添加到末尾，实现将数字放入数组
        arr.append(i)
    print(str(arr))
    aList = []
    for j in range(1,11) :
        # 也可以通过+直接连接2个数组
       aList = aList + [j]
    print(arr)
    bList = []
    for k in range(1,9) :
        # 用*相当于复制原数组内容增加长度
        bList = bList + [k]
    bList = bList * 2
    print(bList)
    x = 3 in [1, 2, 3]
    print(x)


